<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>用户登录</title>
</head>

<body>
  <!-- 
    默认值就是enctype="application/x-www-form-urlencoded"  普通文本表单
    multipart/form-data 为此值时为 文件上传表单
  -->
  <form method="post" action="http://localhost:8080/login" enctype="application/x-www-form-urlencode">
    <div>
      <input type="text" name="username" placeholder="账号" autocomplete="off">
    </div>
    <div>
      <input type="text" name="password" placeholder="密码" autocomplete="off">
    </div>

    <div>
      <button type="submit">用户登录</button>
    </div>
  </form>
</body>

</html>